package tw.cuttle.bean;

import java.io.Serializable;
import java.util.List;

import tw.cuttle.process.ViewStrategy;

public class Process implements Serializable {
    
    /**
     * 
     */
    private static final long serialVersionUID = -8127399228746388540L;
    private String id;
    private String exec;
    private String view;
    private String viewType=ViewStrategy.TYPE.JSP.name();
    private Cache cache;
    private List<ProcessException> exceptions;
    /**
     * @return the viewType
     */
    public String getViewType() {
        return viewType;
    }
    /**
     * @param viewType the viewType to set
     */
    public void setViewType(String viewType) {
        this.viewType = viewType;
    }
    /**
     * @return the cache
     */
    public Cache getCache() {
        return cache;
    }
    /**
     * @param cache the cache to set
     */
    public void setCache(Cache cache) {
        this.cache = cache;
    }
    /**
     * @return the exceptions
     */
    public List<ProcessException> getExceptions() {
        return exceptions;
    }
    /**
     * @param exceptions the exceptions to set
     */
    public void setExceptions(List<ProcessException> exceptions) {
        this.exceptions = exceptions;
    }
    /**
     * @return the id
     */
    public String getId() {
        return id;
    }
    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }
    /**
     * @return the exec
     */
    public String getExec() {
        return exec;
    }
    /**
     * @param exec the exec to set
     */
    public void setExec(String exec) {
        this.exec = exec;
    }
    /**
     * @return the view
     */
    public String getView() {
        return view;
    }
    /**
     * @param view the view to set
     */
    public void setView(String view) {
        this.view = view;
    }
}
